<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><?php if($meta_title != ''): echo ($meta_title); ?>-<?php endif; ?>WCup后台管理</title>
<link rel="stylesheet" href="/public/Admin/dist/css/zui.css">
<link rel="stylesheet" href="/public/Admin/dist/css/zui-theme.css">
<link rel="stylesheet" href="/public/Admin/common/css/common.css">
<script type="text/javascript" src="/public/Admin/dist/lib/jquery/jquery.js"></script>
<script type="text/javascript" src="/public/Admin/dist/lib/form/jquery.form.js"></script>
<script type="text/javascript" src="/public/Admin/dist/js/zui.js"></script>
<script type="text/javascript" src="/public/Admin/dist/lib/layer/layer.js"></script>
<script type="text/javascript" src="/public/Admin/common/js/common.js"></script>


</head>
<body>
<div class="header">
    <nav class="navbar navbar-inverse" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-example">
                    <span class="sr-only">切换导航</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <div class="navbar-brand" href="#">
                    <button type="button" class="slider-toggle" title="侧边栏开关">
                        <span class="sr-only">切换导航</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a href="#">WCup后台管理</a>
                </div>
            </div>
            <div class="collapse navbar-collapse navbar-collapse-example">
                <ul class="nav navbar-nav">
                    <li <?php if($mark == 'index'): ?>class="active"<?php endif; ?>><a href="<?php echo U('index/index');?>"><i class="icon icon-home"></i> 首页</a></li>
                    <li <?php if($mark == 'system'): ?>class="active"<?php endif; ?>><a href="<?php echo U('system/index');?>"><i class="icon icon-cog"></i> 系统</a></li>
                    <li <?php if($mark == 'user'): ?>class="active"<?php endif; ?>><a href="<?php echo U('user/index');?>"><i class="icon icon-user"></i> 用户</a></li>
                    <li <?php if($mark == 'content'): ?>class="active"<?php endif; ?>><a href="<?php echo U('article/index');?>"><i class="icon icon-file-text"></i> 内容</a></li>
                    <li <?php if($mark == 'extend'): ?>class="active"<?php endif; ?>><a href="<?php echo U('smsport/index');?>"><i class="icon icon-tags"></i> 扩展</a></li>
                    <li <?php if($mark == 'count'): ?>class="active"<?php endif; ?>><a href="<?php echo U('count/index');?>"><i class="icon icon-dashboard"></i> 统计</a></li>
                    <li <?php if($mark == 'module'): ?>class="dropdown active"<?php else: ?>class="dropdown"<?php endif; ?>>
                        <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"><i class="icon icon-cube-alt"></i> 模块 <b class="caret"></b></a>
                        <ul class="dropdown-menu" role="menu">
                            <li <?php if($umark == 'company'): ?>class="active"<?php endif; ?>><a href="<?php echo U('company/index');?>">厂商</a></li>
                            <li <?php if($umark == 'team'): ?>class="active"<?php endif; ?>><a href="<?php echo U('team/index');?>">团队</a></li>
                            <li class="divider"></li>
                            <li <?php if($umark == 'project'): ?>class="active"<?php endif; ?>><a href="<?php echo U('project/index');?>">项目</a></li>
                            <li <?php if($umark == 'bug'): ?>class="active"<?php endif; ?>><a href="<?php echo U('bug/index');?>">漏洞</a></li>
                        </ul>
                    </li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li class="dropdown navicon">
                        <a href="<?php echo U('home/index/index');?>" title="打开前台" target="_blank"><i class="icon icon-home"></i></a>
                    </li>
                    <li class="dropdown navicon">
                        <a class="btn-removeRuntime" href="javascript:;" data-href="<?php echo U('index/removeRuntime');?>" title="清空缓存"><i class="icon icon-trash"></i></a>
                    </li>
                    <li class="dropdown navicon bell">
                        <a href="javascript:;" title="消息通知" class="dropdown-toggle" data-toggle="dropdown"><i class="icon icon-bell-alt"></i><span class="bubble">99+</span></a>
                        <ul class="dropdown-menu">
                            <li>
                                <div class="nano nscroller">
                                    <div class="content">
                                        <ul>
                                            <li><a href="#"><i class="icon icon-cloud-upload text-info"></i> 您有 1 条数据尚未备份 <span class="date">2 分钟前</span></a></li>
                                            <li><a href="#"><i class="icon icon-bug text-success"></i> 新增了 6 个漏洞待审核 <span class="date">15 分钟前</span></a></li>
                                            <li><a href="#"><i class="icon icon-user text-warning"></i> 您有 20 条用户认证未审核 <span class="date">30 分钟前</span></a></li>
                                            <li><a href="#"><i class="icon icon-yen text-danger"></i> 有 1 条提现记录尚未处理 <span class="date">1 小时前</span></a></li>
                                        </ul>
                                    </div>
                                </div>
                                <ul class="foot">
                                    <li><a href="#">查看全部消息</a></li>
                                </ul>
                            </li>
                        </ul>
                    </li>
                    <li class="dropdown user">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><img class="avatar" src="/public/Admin/img/avatar2.jpg" /> <span><?php echo (session('account')); ?></span> <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="#">打开前台</a></li>
                            <li><a href="#">个人设置</a></li>
                            <li><a href="#">修改密码</a></li>
                            <li class="divider"></li>
                            <li><a href="#">注销</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
</div>


    <div class="slider">
    <ul class="slider-menu">
        <li>
            <a href="javascript:;">
                <div class="pull-right"><i class="icon-caret-down"></i></div><i class="icon icon-home"></i> 系统首页</a>
            <ul class="sub-menu">
                <li <?php if($umark == 'info'): ?>class="active"<?php endif; ?>><a href="<?php echo U('index/info');?>">系统信息</a></li>
            </ul>
        </li>
    </ul>
</div>

    <div class="main">
        <div class="crumb">
            <ul class="breadcrumb">
                <li><i class="icon icon-home"></i></li>
                <li>首页</li>
                <li>系统首页</li>
                <li>系统信息</li>
            </ul>
        </div>
        <div class="container-fluid">
            <div class="widgets row">
                <div class="col-xs-3">
                    <div class="widget">
                        <div class="bg-icon">
                            <i class="icon icon-user text-warning"></i>
                        </div>
                        <div class="text-right">
                          <h2><?php echo ($count["users"]); ?></h2>
                          <p>用户总数</p>
                        </div>
                    </div>
                </div>
                <div class="col-xs-3">
                    <div class="widget">
                        <div class="bg-icon">
                            <i class="icon icon-file-text text-success"></i>
                        </div>
                        <div class="text-right">
                          <h2><?php echo ($count["infos"]); ?></h2>
                          <p>资讯总数</p>
                        </div>
                    </div>
                </div>
                <div class="col-xs-3">
                    <div class="widget">
                        <div class="bg-icon">
                            <i class="icon icon-comments text-danger"></i>
                        </div>
                        <div class="text-right">
                          <h2><?php echo ($count["infos"]); ?></h2>
                          <p>帖子总数</p>
                        </div>
                    </div>
                </div>
                <div class="col-xs-3">
                    <div class="widget">
                        <div class="bg-icon">
                            <i class="icon icon-bug text-info"></i>
                        </div>
                        <div class="text-right">
                          <h2><?php echo ($count["bugs"]); ?></h2>
                          <p>漏洞总数</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="widget">
                <div class="widget-heading">
                    <div class="sc-icon">
                        <i class="icon icon-cog"></i>
                    </div><span>系统信息</span>
                </div>
                <div class="widget-body">
                    <table class="system_table">
                        <tbody>
                            <tr>
                                <td class="gray_bg">服务器操作系统：</td>
                                <td><?php echo ($sys_info["os"]); ?></td>
                                <td class="gray_bg">服务器域名/IP：</td>
                                <td><?php echo ($sys_info["domain"]); ?> [ <?php echo ($sys_info["ip"]); ?> ]</td>
                            </tr>
                            <tr>
                                <td class="gray_bg">服务器环境：</td>
                                <td><?php echo ($sys_info["web_server"]); ?></td>
                                <td class="gray_bg">PHP 版本：</td>
                                <td><?php echo ($sys_info["phpv"]); ?></td>
                            </tr>
                            <tr>
                                <td class="gray_bg">Mysql 版本：</td>
                                <td><?php echo ($sys_info["mysql_version"]); ?></td>
                                <td class="gray_bg">GD 版本</td>
                                <td><?php echo ($sys_info["gdinfo"]); ?></td>
                            </tr>
                            <tr>
                                <td class="gray_bg">文件上传限制：</td>
                                <td><?php echo ($sys_info["fileupload"]); ?></td>
                                <td class="gray_bg">最大占用内存：</td>
                                <td><?php echo ($sys_info["memory_limit"]); ?></td>
                            </tr>
                            <tr>
                                <td class="gray_bg">最大执行时间：</td>
                                <td><?php echo ($sys_info["max_ex_time"]); ?></td>
                                <td class="gray_bg">安全模式：</td>
                                <td><?php echo ($sys_info["safe_mode"]); ?></td>
                            </tr>
                            <tr>
                                <td class="gray_bg">Zlib支持：</td>
                                <td><?php echo ($sys_info["zlib"]); ?></td>
                                <td class="gray_bg">Curl支持：</td>
                                <td><?php echo ($sys_info["curl"]); ?></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>



</body>
</html>